import {BehaviorWithStore} from "mobx-miniprogram-bindings"

// 用户信息仓库
import {
  userStore
} from "../../stores/userstore"

export default BehaviorWithStore({
  storeBindings: [
    {
      store: userStore,
      fields: ['userInfo','token'],
      actions: ['setToken','setUserInfo']
    }
  ]
})